package cn.afterturn.easypoi.schemas;

import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.io.Reader;
import java.lang.ref.SoftReference;
import java.net.URL;
import javax.xml.namespace.QName;
import javax.xml.stream.XMLStreamReader;
import org.apache.xmlbeans.SchemaType;
import org.apache.xmlbeans.SchemaTypeLoader;
import org.apache.xmlbeans.XmlBeans;
import org.apache.xmlbeans.XmlException;
import org.apache.xmlbeans.XmlObject;
import org.apache.xmlbeans.XmlOptions;
//import org.apache.xmlbeans.xml.stream.XMLInputStream;
//import org.apache.xmlbeans.xml.stream.XMLStreamException;
import org.openxmlformats.schemas.wordprocessingml.x2006.main.*;
import org.openxmlformats.schemas.wordprocessingml.x2006.main.impl.CTRPrImpl;
import org.w3c.dom.Node;

public class CTRPrUtil extends CTRPrImpl {

    private static final QName RFONTS$2 = new QName("http://schemas.openxmlformats.org/wordprocessingml/2006/main", "rFonts");

    public CTRPrUtil(SchemaType sType) {
        super(sType);
    }
    public boolean isSetRFonts() {
        synchronized(this.monitor()) {
            this.check_orphaned();
            return this.get_store().count_elements(RFONTS$2) != 0;
        }
    }

    public CTFonts getRFonts() {
        synchronized(this.monitor()) {
            this.check_orphaned();
            CTFonts var2 = null;
            var2 = (CTFonts)this.get_store().find_element_user(RFONTS$2, 0);
            return var2 == null ? null : var2;
        }
    }
}
